package com.zsc.shixun.service.function;

import com.zsc.shixun.model.following.FollowingListVO;

/**
 * <p>
 * 关注
 * </p>
 *
 * @author ZWYZY
 * @since 2020/6/18
 */
public interface MyFollowingService {
    /**
     * 获取关注人列表
     *
     * @param id
     */
    public FollowingListVO list(Long id);


    /**
     * 取消关注
     *
     * @param id
     * @param uid
     */
    public void delete(Long id, Long uid);

    /**
     * 关注
     *
     * @param id
     * @param uid
     */
    public void following(Long id, Long uid);

    /**
     * 是否关注
     *
     * @param id
     * @param uid
     * @return
     */
    public boolean isFollow(Long id, Long uid);
}
